/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 8 -*- */
/*
* gtrstatustextview.h
* Copyright (C) Jonas Hagmar 2009 <gnotterdev@gmail.com>
* 
* gtrstatustextview.h is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* 
* gtrstatustextview.h is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License along
* with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _GTRSTATUSTEXTVIEW_H_
#define _GTRSTATUSTEXTVIEW_H_

#include <gtk/gtktextview.h>

G_BEGIN_DECLS
#define GTR_TYPE_STATUS_TEXT_VIEW             (gtr_status_text_view_get_type ())
#define GTR_STATUS_TEXT_VIEW(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTR_TYPE_STATUS_TEXT_VIEW, GtrStatusTextView))
#define GTR_STATUS_TEXT_VIEW_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GTR_TYPE_STATUS_TEXT_VIEW, GtrStatusTextViewClass))
#define GTR_IS_STATUS_TEXT_VIEW(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTR_TYPE_STATUS_TEXT_VIEW))
#define GTR_IS_STATUS_TEXT_VIEW_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GTR_TYPE_STATUS_TEXT_VIEW))
#define GTR_STATUS_TEXT_VIEW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTR_TYPE_STATUS_TEXT_VIEW, GtrStatusTextViewClass))
typedef struct _GtrStatusTextViewClass GtrStatusTextViewClass;
typedef struct _GtrStatusTextView GtrStatusTextView;

struct _GtrStatusTextViewClass
{
  GtkTextViewClass parent_class;
};

struct _GtrStatusTextView
{
  GtkTextView parent_instance;
};

GType
gtr_status_text_view_get_type (void)
  G_GNUC_CONST;
     GtkWidget *gtr_status_text_view_new (void);
     void gtr_status_text_view_set_data (GtrStatusTextView * view,
					 gchar const *user,
					 gchar const *status,
					 gchar const *created_at,
					 gchar const *source_href,
					 gchar const *source_name,
					 gchar const *id);

G_END_DECLS
#endif /* _GTRSTATUSTEXTVIEW_H_ */
